<template>
    <div>
        <div class="main_left">
            <div class="nav">
                <ul class="nav_ul">
                    <router-link to="/UserOthDynamic" tag="li" class="navclass" >动态</router-link>
                    <router-link to="/UserOthAnswer" tag="li" class="navclass">回答</router-link>
                    <router-link to="/UserOthText" tag="li" class="navclass">文章</router-link>
                    <li>
                        <div class="press">
                            更多<svg t="1597745702277" class="icon" viewBox="0 0 1024 1024"
                                    version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4017" width="15" height="15">
                                    <path
                                        d="M512 685.248l-278.624-278.624 45.248-45.248L512 594.752l233.376-233.376 45.248 45.248z"
                                        fill="#181818" p-id="4018"></path>
                                </svg>
                            <div class="nav_con">
                                <router-link to="/UserOthCollect" tag="span">收藏&nbsp;</router-link>
                                <router-link to="/UserOthFollow" tag="span">关注&nbsp;</router-link>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
            <router-view></router-view> 
        </div>
    </div>
</template>
<script>
import $ from 'jquery'
export default {
  name :'UserOthersleft'
}
</script>
<style>
.main_left {
    width: 660px;
    height: 100%;
    margin-top: -25px;
    margin-bottom: 50px;
    background-color: #fff;
    opacity: 0.9;
    box-shadow: 0 0 5px 2px rgb(204, 217, 235);
    float: left;
    position: relative;
    overflow: hidden;
    clear: both;
}
.nav ul {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.nav li {
    display: inline-block;
    width: 50px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    /* background-color: cadetblue; */
    margin-top: 5px;
    margin-left: 20px;
    color: #333;
}

.nav li:hover {
    cursor: pointer;
}

.navclass.router-link-active {
    font-weight: 700;
    box-shadow: 0px 2px 0px rgb(89, 81, 165);
}

.nav svg {
    position: relative;
    top: 3px;
}

#deve1 ul,
#deve2 ul,
#deve3 ul,
#deve4 ul,
#deve5 ul {
    list-style: none;
    padding: 0 10px;
}
#deve1 li,
#deve2 li,
#deve3 li,
#deve4 li,
#deve5 li {
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.main_left span {
    display: block;
    width: 200px;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    color: #888;
}

.main_left p {
    color: #333;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 5px;
}

.main_left img {
    width: 40px;
    height: 40px;
    margin-top: -4px;
    border-radius: 5px;
}

.main_left .answer_name {
    display: block;
    width: 200px;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    position: absolute;
    left: 80px;
    top: 85px;
}

.main_left .answer_info {
    display: block;
    width: 500px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #555;
    position: absolute;
    left: 80px;
    top: 105px;
}

.agree1 {
    width: 100px;
    height: 30px;
    background-color: rgb(89, 81, 165);
    border-radius: 10px;
    color: #fff;
    margin: 10px 0px;
    font-size: 13px;
    line-height: 30px;
    padding: 0 3px;
    position: relative;
}

.agree1 svg {
    position: relative;
    top: 4px;
    left: 2px;
}

.agree2 svg {
    position: relative;
    top: 4px;
}

.agree2 {
    width: 30px;
    height: 30px;
    background-color: rgb(231, 234, 243);
    border-radius: 10px;
    position: absolute;
    top: 195px;
    left: 135px;
    text-align: center;
}
.infor_changebtn:hover {
    cursor: pointer;
}

.press a {
    display: inline-block;
    width: 50px;
    height: 40px;
    color: #333;
    text-decoration: none;
}

.nav_con {
    width: 80px;
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #eee;
    /* background-color: #ffe; */
    padding: 5px 0;
    z-index: 10;
}

.nav_con span{
    width: 80px;
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
}

.nav_con span:hover {
    display: block;
    background-color: #eee;
}

.press:hover .nav_con {
    display: block;
}

#collect_num,
#follow_num {
    display: inline;
    color: rgb(94, 113, 179);
    font-weight: 600;
    font-size: 13px;
}
#info2_ul{
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
#sex{
    position: relative;
    top: 5px;
}
#info2_ul a{
    display: inline-block;
    width: 80px;
    height: 20px;
    margin: 10px 10px;
    color: #333;
    font-weight: 700;
    font-size: 15px;
}
#info2_ul span{
    font-size: 14px;
}
h3:hover{
    cursor: pointer;
    color: #666;
}
.deve_none{
    width: 600px;
    margin: 50px 0;
    text-align: center;
}
.no_dynamic{
    color:rgb(190, 197, 211);
    font-weight: 600;
}
.no_dynamic a{
    text-decoration: none;
    color: rgb(111, 103, 180);
}
.d5_nav{
    border-bottom: 1px solid #eee;
    width: 650px;
}
.d5_nav li{
    display: inline-block;
    color: #333;
    border-bottom: 1px solid transparent;
    font-size: 15px;
}
.d5class{
    font-weight: 600;
}
.d5_nav li:hover{
    cursor: pointer;
}
</style>